<%@ page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags" %>
<form id="pagerForm" method="post" action="rolemanage">
	<input type="hidden" name="pageNum" value="1" />
	<input type="hidden" name="numPerPage" value="<s:property value="pm.numPerPage"/>" />

</form>
<form onsubmit="return dwzSearch(this, 'dialog');" action="SearchRole_List" method="post">
<div class="pageContent">
	<table class="table" width="100%" layoutH="138">
		<thead>
		
		    <tr>
				<th align="center">角色ID</th>
				<th align="center">角色名</th>

			</tr>
		</thead>
		<tbody>
			<s:iterator value="pm.list" var="cp">
			        <td align="center"><s:property value="roleid"/></td>
					<td align="center"><s:property value="rolename"/></td>
					<td align="center">&nbsp;<a class="btnSelect" href="javascript:$.bringBack({
					roleid:'<s:property value="roleid"/>', rolename:'<s:property value="rolename"/>'})" title="查找">选择</a></td>
				</tr>
			</s:iterator>	
			
			
			
		</tbody>
	</table>
	<div class="panelBar">
		<div class="pages">
			<span>显示</span>
			<select class="combox" name="numPerPage" onchange="navTabPageBreak({numPerPage:this.value})">
				<option value="20">20</option>
				<option value="50">50</option>
				<option value="100">100</option>
				<option value="200">200</option>
			</select>
			<span>条，共${pm.totalCount}条</span>
		</div>
		
		<!--分页组件-->  
		<div class="pagination" targetType="navTab" totalCount="${pm.totalCount}" numPerPage="${pm.numPerPage}" pageNumShown="10" currentPage="${pm.pageNum}"></div>
	</div>
</div>
</form>